<template>
  <div class="a">222</div>
</template>

<script>
export default {
  data() {
    return {
      type: ""
    };
  },
  mounted() {
    console.log(this.$route.params.type);
    this.type = this.$route.params.type;
  }
};
</script>

<style lang="scss" scoped>
.a{
  height: 100rem;
}
</style>